package com.yellow.feedbackservice.entity;

import com.baomidou.mybatisplus.annotation.TableName;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.IdType;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;
import java.time.LocalDateTime;

@Data
@NoArgsConstructor
@AllArgsConstructor
@TableName("customer_feedbacks")
public class CustomerFeedback {

    @TableId(value = "feedback_id", type = IdType.AUTO)
    private Integer feedbackId;

    @TableField("customer_id")
    private Integer customerId;

    @TableField("order_id")
    private Integer orderId;

    @TableField("feedback_text")
    private String feedbackText;

    @TableField("feedback_date")
    private LocalDateTime feedbackDate;
}
